package top.littleze.aiattendance.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.littleze.aiattendance.entity.AttendanceCourseEntity;
import top.littleze.aiattendance.entity.AttendanceTCEntity;

import java.util.List;

@Mapper
public interface AttendanceTCEntityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AttendanceTCEntity record);

    int insertSelective(AttendanceTCEntity record);

    AttendanceTCEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AttendanceTCEntity record);

    int updateByPrimaryKey(AttendanceTCEntity record);







    List<AttendanceCourseEntity> queryTeacherCourse(@Param("teacherId") String teacherId);

    int deleteByCourseId(@Param("courseId") String courseId);


}